

{% extends 'film_app2/base.html' %}
{% load static %}
{% block body %}



    <nav class="head-nav">
		<p class="video-name" style="text-align: center">{{film_name.0}}-{{show.1}}</p>
	</nav>
	<section>




            <div id="video" style="width: 100%; height: 400px;max-width: 100%;"></div>
            <script type="text/javascript" src="{%static 'ckplayer/ckplayer.js'%}" charset="UTF-8"></script>

            <script type="text/javascript">

                    var videoObject = {
                container: '#video',//“#”代表容器的ID，“.”或“”代表容器的class
                variable: 'player',//该属性必需设置，值等于下面的new chplayer()的对象
                flashplayer:false,//如果强制使用flashplayer则设置成true
                video:{
                        file:'{{show.0}}',//视频地址
                        type:'video/m3u8'
                            }
                        };
                        var player=new ckplayer(videoObject);
            </script>





		<!-- 反馈 -->
		<div class="feedback">



			<div class="feedback-l">
				<span class="feedback-num">10</span>
				顶一下
			</div>
			<div class="feedback-r">
				<span class="feedback-num">10</span>
				报错
			</div>
		</div>
		<!-- 剧集 -->


<div class="episodes clearfix" style="width: 100%;height: auto">

          {% for url, name in url_list %}

          <span class="footer-tags"><a class="btn btn-default" href="{{ url }}" role="button">{{ name }}</a></span>

          {% endfor %}

</div>
		
		<!-- 内容简介 -->
		<div class="cont-jianj">
        <p>《<span id="cont_jianj_name">{{ film_name.0 }}</span>》 内容简介</p >
        <div class="cont-text" id="cont_jianj_text">{{ jie_shao.0 }}</div>
        </div>







	</section>


<script src="{%static 'public/js/video.js'%}"></script>


{% endblock %}